//
//  MyOrderItems.m
//  wtshoppingcite
//
//  Created by TW on 14-12-9.
//  Copyright (c) 2014年 TW. All rights reserved.
//

#import "MyOrderItems.h"

@implementation MyOrderItems

- (id)initWithMyOrderItemInfo:(NSDictionary *)info{
    
    if(self = [super init]){
        id count = [info objectForKey:@"count"];
        self.count = ObjToString(count);
        
        id descp = [info objectForKey:@"descp"];
        self.descp = ObjToString(descp);
        
        id mainImgPath = [info objectForKey:@"mainImgPath"];
        self.mainImgPath = ObjToString(mainImgPath);
        
        id productId = [info objectForKey:@"productId"];
        self.productId = ObjToString(productId);
        
        id productName = [info objectForKey:@"productName"];
        self.productName = ObjToString(productName);
        
        id salePrice = [info objectForKey:@"salePrice"];
        self.salePrice = ObjToString(salePrice);
    }
    return self;
}
@end
